package com.study.mall.mallproduct.service.impl;

import com.study.mall.mallproduct.entity.PmsCategoryBrandRelation;
import com.study.mall.mallproduct.mapper.PmsCategoryBrandRelationMapper;
import com.study.mall.mallproduct.service.PmsCategoryBrandRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Arrays;

/**
 * <p>
 * 品牌分类关联 服务实现类
 * </p>
 *
 * @author admin
 * @since 2022-03-05
 */
@Service
public class PmsCategoryBrandRelationServiceImpl extends ServiceImpl<PmsCategoryBrandRelationMapper, PmsCategoryBrandRelation> implements PmsCategoryBrandRelationService {

    @Override
    public void removeByBatch(Long[] ids) {
        this.baseMapper.deleteBatchIds(Arrays.asList(ids));
    }
}
